$OpenBSD: patch-xwindow_x_screen_c,v 1.17 2016/08/17 15:10:24 dcoppa Exp $

'XKeycodeToKeysym' is deprecated

--- xwindow/x_screen.c.orig	Sun Aug 14 10:21:06 2016
+++ xwindow/x_screen.c	Wed Aug 17 17:00:59 2016
@@ -6669,8 +6669,8 @@ compare_key_state_with_modmap(
 			{
 				KeySym  sym ;
 
-				sym = XKeycodeToKeysym(  screen->window.disp->display ,
-							mod_map->modifiermap[index] , 0) ;
+				sym = XkbKeycodeToKeysym(  screen->window.disp->display ,
+							mod_map->modifiermap[index] , 0, 0) ;
 
 				switch (sym)
 				{
